package com.manage.utils;



import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 分页工具
 */
public class PagerInfo {

	private Long recordsTotal;// 总记录
	private Long recordsFiltered;// 过滤后的记录数
	private Long draw;// dataTable默认自带
	private List<?> data;// 数据
	private Map<String, Boolean> urlShowMap = new HashMap<>();
	private Map<String, String> dataMap = new HashMap<>();

	/**
	 *
	 * @return
	 */
	public Long getRecordsTotal() {
		return this.recordsTotal;
	}

	/**
	 *
	 * @param recordsTotal
	 */
	public void setRecordsTotal(Long recordsTotal) {
		this.recordsTotal = recordsTotal;
	}

	/**
	 *
	 * @return
	 */
	public Long getRecordsFiltered() {
		return this.recordsFiltered;
	}

	/**
	 *
	 * @param recordsFiltered
	 */
	public void setRecordsFiltered(Long recordsFiltered) {
		this.recordsFiltered = recordsFiltered;
	}

	/**
	 *
	 * @return
	 */
	public Long getDraw() {
		return this.draw;
	}

	/**
	 *
	 * @param draw
	 */
	public void setDraw(Long draw) {
		this.draw = draw;
	}

	/**
	 *
	 * @return
	 */
	public List<?> getData() {
		return this.data;
	}

	/**
	 *
	 * @param data
	 */
	public void setData(List<?> data) {
		this.data = data;
	}

	/**
	 *
	 * @return
	 */
	public Map<String, Boolean> getUrlShowMap() {
		return this.urlShowMap;
	}

	/**
	 *
	 * @param urlShowMap
	 */
	public void setUrlShowMap(Map<String, Boolean> urlShowMap) {
		this.urlShowMap = urlShowMap;
	}

	/**
	 *
	 * @return
	 */
	public Map<String, String> getDataMap() {
		return this.dataMap;
	}

	/**
	 *
	 * @param dataMap
	 */
	public void setDataMap(Map<String, String> dataMap) {
		this.dataMap = dataMap;
	}
}
